Center Spriter animation to allow accurate flip. Also removed unused variable in sample 5.