fixes the Braitenberg's movement behavior.