when overwriting a widget, keep the position and positionReference from widget overwrited