fixed camera position when crouching and clipped player to map size