This should fix the orientation being upside down when exiting a modal view