Mipmapping only enable when texture scaling disabled 

Fix issue #2891