input: Deduplicate into `update_output_image_copy_cursor_position`