runtime: hack to avoid NaN from div/0 (which are almost never handled explicitly in shader code)