Fix a bug where the first item in the compass did not appear after the last one