Fixing bug where right click menu items were not re-enabled