fix screen rotation error