fix minimized panel was inexplicably too large