Fix orientation check in ReUI to check that the current width matches the previous height to determine if the orientation changed. Resizes of the window were causing orientation changes.