Prevents default behavior from arrow keys