[spline/bezier]Fix the remains of differences between dx9 and opengl.  

Fixes for the remains of 74aec01 and 31ba44b related to #7181 #5500.