Issue #2416: UILayout display mistake