Refactored panel errors so they don't cover the panel buttons