I have never noticed this happening when setting a city to maximize the output of any other resource.
The economies of Civilization V are quite deep, which may make them somewhat intimidating to a new player, especially the science and culture economies.