Added positioning for the widget's context menu