Create GlobalRef in surfaceCreated, in accordance to r29572.