contextMenu always visible in window

Prevents the contextMenu is not outside the window