diff --git a/src/lib/file-uploader.js b/src/lib/file-uploader.js
index a5805c1c8517b1fcb9e521011a02d553a5cfd2ed..a0690f2b0bcb63831fffd58675b1949c67298418 100644
--- a/src/lib/file-uploader.js
+++ b/src/lib/file-uploader.js
@@ -129,7 +129,7 @@ const costumeUpload = function (fileData, fileType, costumeName, storage, handle
         // passing in an array buffer causes the sprite/costume
         // thumbnails to not display because the data URI for the costume
         // is invalid
-        addCostumeFromBuffer(null, new Uint8Array(fileData));
+        addCostumeFromBuffer(new Uint8Array(fileData));
     } else {
         // otherwise it's a bitmap
         bitmapAdapter.importBitmap(fileData, fileType).then(addCostumeFromBuffer);