Fix a bug with the shadows