TiledTextureContents::RenderToSnapshot should only create a snapshot directly from the texture if the geometry is an axis-aligned rectangle. Fixes https://github.com/flutter/flutter/issues/136504