[DF-4994] Added call of glFinish() to reassignapplicationWillResignActive()