In the first screenshot you notice that I can't build the "Globe Theater" even though it indicates that I've 1 left. So I check that in a nearby city (screenshot 2) and their it checks out, having 1 remaining item to build should allow to actually start building it. A few turns later .... screenshot 3, it has magicly turned to 0, without building any global or national wonder. Now isn't that strange ?