Minor improvement to TweenPlugin compatibility

- A new version of AIR didn't like the [perfectly valid] conditional logic on one line in TweenPlugin, so we rewrote it to improve compatibility.