Setting a minimum size of 1 grid (usually 5") might be the easiest solution. If I understand correctly then line 46 is the culprit, because 0*1=0:
No idea why that leads to huge token overlays being applied (maybe its their original size compared to the map dpi)?!Code:woundWidget.setSize(math.floor(tokenWidth*1), math.floor(tokenHeight*1));