Fixed calculating height of first horizontal button.