Fixed a divide by zero error with 0% minimum panel size