#1064 fix thumbnail bug