Fix row height bug related to screen size change