We have some protection for this on desktop but it was missing on mobile. I pushed a fix and category images will now resize correctly.
https://github.com/discourse/discourse/commit/22f43abb0edb370556f247172f76e93308578a0c
Thanks for reporting the issue @charleswalter