Fixed avoiding for keyboards with different height