client: fix context menu off screen sometimes