Fix the compass resizing problem.