moved sprtie animation to canvas render