Fix broken thumbnail display