Fix vertical accel compensation bug