Good idea. You could probably add a little bit of gelatin as well to make it firmer.

I didn't mean the jelly doesn't stay together, I mean the cake was stuck to the jelly.