ZBXNEXT-4150 broke correct positioning.
Steps to reproduce:
- Open map, enter edit mode.
- Try mouse right click in empty place or over some element.
Context menu is located in the top left corner when clicked in empty place. If click is done on some element, context menu is place right under it (in previous versions it was located in the place where mouse was clicked).
Should work in the same way as before