Why is the fire not rendering when sphere (domain) in viewport is hidden?
Think of the fire as a object, and think of the domain as the renderer ~ you will not be able to see the fire without the domain. You can just bake the cache if it lags too much on raw playback.