Fix incorrect offset in drawMachinePos