Fix for updating image grid after deleting image