Added support for emulating right-click