Bug in main draw_sprite func for now skipping code