That's on me, I forgot to clamp the X-axis rotation; you're not supposed to be able to flip upside-down. Really kicking myself for missing that! But thanks!