machine-canvas-item: fix storing machine position

When storing machine pos, we need to take the canvas center into account.