fixed bug that sprites where not showing