control: fix for generating a loco at speed command event