Camera now rotates properly both horizontally and vertically.