Fixed the MdiArea resizing issue.