bezier-curve: Add dirty-checking fallback for Object.observe.