made moveTo insert slightly more robust to match negative values and floats