10" Screen is Mirrored and Inverted

The output on my new 10" screen is mirrored and upside down. I added a comment to config.txt fix the mirroring but the screen is still inverted. The OSD is also messed up.