Corect sampling of mipmapped texture