Fix panel warning.