Fixed the touch bug when rotate the screen