fix the app skeleton enterframe callback prototype and impl