In the Minimap, abstract out a shared publishFocus method.