[#2916] Only call blur if the function exists