Fixed bugs of Canvas recycling.