HotSpot: add relativePosition param