LineCalculator: Window dragging, focus, font