Implement #11174 to fix #10936: increase height of large inputs to fix Firefox inconsistencies