Make GIF output be the same aspect ratio as camera resolution, remove red border after capturing frames