Render Queues and atmospheres

I have a sphere (which is a planet) and a dome (which is the atmosphere). The dome is always facing the sun and covers just over half of the planet. I was trying to change the render queue to render the dome behind the sphere, and in the scene view it worked:

But then in the game view it decided to stop working:

If someone could help me with this problem (i’m guessing it has something to do with the render queue) it would be greatly appreciated.

The answer is you have to set the planet’s render queue to above 3000 and the atmospheres to less than the planet’s but at least 3000.