Defregment code and fix FC on Canvas