Fixed some bugs with the curves interaction. Everything seems good now