Fixed bug for lodshadows