Add hacky fix for small image uploading causing hang