Fixes bug in which the max acceleration was reduced to 0