fix bugs with camera and lightmap
remove logging