nice bug?

so i started collecting snowmen and the on 2 trees and canes, first canes reset from 19 to 0 and didnt work anymore, they wouldnt count anymore then when i had collected all trees and snowmen they all restet! so i wasted like 30 min or more collecting those damn snowmen for nothing.