fixed bugs in camera projection