Fixes bug where original image not replaced by upload form on IE9