Maybe there's something in your code that disables the shadow??