[Bug #8572] Logic to stop bubbling of contextmenu events on right click moved to AbstractButon class.