Camera flips when passing the 90 pitch mark

Need to see some code, dude.