lingering tooltip after gallery image delete fixes #5124