Add clip() helper
Use clip() helper in tablet_update_axis