Fixed thumbnail bug