switch from debug graphics to custom canvas graphics