Fix for visual mode link creation