limit camera pitch to [-PI, PI]