Fixed bugs for initializing empty thumb container.