Fix mention issues with Firefox