refactor/reformat Tooltip.getPosition per @fat's feedback