Fixed crash when sending the position via OSC.