Unbroke mipmapping