Fixes ChangeSpeed.java to work with negative values