fixed bug with shadows