bugfixes & tweaking to distance field renderer