Set type of first request in tab to main_frame to work around Chromium issue 281711