Added support for opening menu using mouse buttons