Fix highlight error when opening browser tools