Fixed bug with shadow