Fix #9: assert in renderer