Fixed bug with right tab click menu