fixed multiple key presses being registered in _update