Fix compatability of chat border with Firefox