fixed render bug when switching shadowing off