Added `capture_cursor`