Fix mediauploader editor bug