Fix: horizontal sync should not go outside screen boundaries.
Refactor: different platforms contextual menus.