Fixed resize bug in rotate image receipts