Fix backtrace showing "??" instead of "main"