Fixes edit panel height and positioning.