Issue #5600: Advanced compression repair

Issue #5600: Fixed a bug about UIlayout