Fixed bug when loader disappears much more earlier than all images are loaded.