Fixed AVFoundation Bug and Resized Images with Pinch Gesture