Don't try to resize the display if the window size didn't change.