Change to parseInt and sketchStyle to get height/width, change to getElementById from querySelector.
Fix width/height, temporary until background-fix.