Fix for accelerometer range issue