Correctly convert extruder_offset to Point object before passing to C++ code.