Fixed tab-capturing.