Reproduce react bug 2311