Fixed Panel layout issues.