Add maximum height to error panel.  Fix #1127