Fixed processing of left/right arrow key event in tab widget.