put inline on functions only in release define, guard against null tweens value in ease function