Changed the way camera position is implemented