Fix first-person viewport bug