Panel layout fixes