Only resize if window has shrunk.