Made OnGlobalLayout to unregisterable.