Fixed a bug where links wouldn't disappear when using linkanimations and quickly closing links