Prevent NPE on compass click