Accept press key events while dragging cursor.