Fixed spriteruntimeobject.setAnimation which could set a negative animation number.