Better support for cancelling capture input