Implement texture clear, fix immutable tex support