More bug fixes for fading colors based on acceleration