fixed some glitches regarding camera and lights