fixed prune and light texture coordinate calculations.