Prevent resetInput from breaking context menu 'select all' in FF

Closes #2974