Reset animation frame when changing animation so that they start
from the first frame