I have a few Imagebuttons with a context menu attached to it. On the device, this works normal. On the desktop however (IDE or Compiled Opt.), after the context event is executed, the Imagebutton click i also executed. I'm not sure if it's legal to add a contextmenu to a wired imagebutton, but on the mobile it works great.