fix rotation ui size issue