MOD: fix bugs
    modified:   core/ani/alg.js
    modified:   core/math/hitTest.js