Fix unpopped gl matrix in gravsensor gadget