Fix rotation ater reset bug