proposed fix for issue #74, lookup texture name from active texture + bound state