Fixed setCompass() NPE