Updated the scene class so that it doesn’t matter whether entities or systems are added to the scene first.