Remove canvas dependency