Added frames sizes check for GIF export.