Expose on spawn doesn't work for custom Components

I ran into the same issue here. I have two variables exposed on spawn. One works, the other doesn’t. I suspect some internal issue. I will fiddle with it and see if I can get it to work for both variables.