Adding debug conditional in draw