libui: Fix clamping of input values in ui::Size am: 1e10136954 am: cb59cdcbde am: ddb96d5987 am: 70b55bc9d5

Change-Id: I0401a3ec089c549d0e2e0b85680e42f7e143c60b