Fix sync issue about window rotation

No match.