pulled DrawDebug logic up into Engine classes