Offset getViewportPosition(Offset position) { return _viewport.globalToLocal(position.toVector2()).toOffset(); }