Fixed onContextCreated being not called after onContextLost.