more logic fixes for texture limits