Fix keyboard focus loss on non wrap mode.