slight cleanup to RenderTools.texMap