When tiles come from cache, make sure to switch layers as well
Merge pull request #11 from bartvde/issue-11

issues w/ group layer flipping