How to fix the rotator pitch bug

This behavior is very unlikely to be fixed ever, as any change would be likely to break all projects. The correct solution here is to use quaternions instead, which do not exhibit any such issue.