Fix tile counts when invalid resolutions are skipped