Fix DPMatrix rendering