rsinput bug fix