only emit 'positionChanged' signal when a new position is reached
only call updateBeam once, since updateBeam calls drawBeam