Fix multi-page atlas loading