Removed unnecessary call to eglMakeCurrent( ) in XAML template.