fix sprite frames loading