Some fixes for b-cubic-spline-render

Signed-off-by: Oleg Bulatov <dmage@yandex-team.ru>