Fix issue loading editor by delaying creation of debug bar