Proper code for NURBS curves as per #3391.