Fix setStyleText() to apply to future curves