Prevent default on direction keydown events