Fixed bug that kept speed from changing