mac: Simplify frameless window dragging code