Fixed image uploading CSS animation