fix flipped accelerations on Linux