Fix #1945, move atlas generation

into horizons.engine.