Resolved an mipmapping bug