Use withAdjustedPosition instead of anchorXY; remove quote marks in object literal