Fix issue with panel height