The photo itself is not crooked, it's just the view.
Go to Edit>Preferences>Performance. In that window, there will be a checkbox saying either "Use OpenGL" or "Use Graphics Processor" ... something like that. Turn off that checkbox.
Then you might need to restart Photoshop.