Issue #5600: Fixed a bug about setContentSize
Merge pull request #540 from VisualSJ/master

Issue #5600: Fixed a bug about setContentSize