fix uint clipping on sin waves