Fixed #5781: fixed bugs of ccui.LayoutParameter and ccs.ArmatureAnimation

Fixed bugs of ccui.LayoutParameter and ccs.ArmatureAnimation