Fixed context menu handling on non-touch devices.