@jowie fixes

Recreate pull request https://github.com/domhofmann/PRTween/pull/37 for this fork.