VERY hackish fix for vertex crashing; we need to trace polygon drawing calls to actually fix this.