Fix speed scaling