[PD-dev] "Consistency check failed: drawline" on linux, segfault on OSX.