fix rotate screen bug

fix rotate screen bug