Fix the crash when the window is resized too small
Fix the crash when the window is resized too small

Draw the statistics from top to bottom and ensure nothing is drawn
outside the window (tested with a minimum of 20x5)

orf/gping