Fix bug with panel widths not being perfect