Fix $.animate issue