Fixed rotation bug on tablet
Fixed crash at screen rotation on tablets