Fixed bug in thumbnail streaming