Fixed the rorate issues: caused by autoLayout