Not sure I understand you, but try after creation
obj.x = 0;
obj.y = 0;
obj.z = 0;
wait(1);

where obj is your object.