Fixes contentPanel hieght bug