Fixed maintaining the right design resolution when changing orientations.