fixing manifest loading and sprite rendering across files