Fixed bug that left previous file input on items without an image