Make tween.update more robust

It can now handle negative numbers, nil, 0, and any kind of garbage.

Fixes #1455