Issue #5600: Fixed a bug that UILayout