Fixed a crash, a resize bug and little tweek on camera.