Add tab activation on error [fixes #47067087]