Fixes a bug in Link element