I noticed a bug: You lose all the grey gems you've collected in previous levels if you back out of the current level with escape.
I also just encountered it, I had to abandon my moon friend for my furry orange friend.
I'll look into it. That might be a bug in the original game too, but even if that's the case it should probably be addressed!