fixed a layout bug while loading a thumbnail