Fixed PinchToZoom crashing with GIF files