Condensed code in the placement manager, added the main scene back.