implemented sprite drawing again, no debug mode