Fix #742 - Fixed up resizing panel