Fixed delete button on animated images so user can not delete image until delete button is visible