fixed instancing issues

context menu wasn't working too well with multiple instances of the
widget