Fix MC-30864

Clicking links in chat
https://bugs.mojang.com/browse/MC-30864