Fixed bezier curve points not being saved properly.