This also fixes a little bug, which caused `draw_fcurve_samples` to never be called, and thus sampled curve range boundaries were not drawn. Part of T49043
This also fixes a little bug, which caused `draw_fcurve_samples` to never be called, and thus sampled curve range boundaries were not drawn. Part of T49043