Fix issues with mentions (in Firefox)