Fix the compass display bug