Literally just spent all of Friday and today fighting with that.
The ONLY thing I’ve found is to completely delete your layer and start over and hope that it doesn’t happen again. I can’t find anything that actually mitigates it.
I’m about 2 mouse clicks away from doing this with my keyboard.
Also the reason behind this post I made this morning.
Creating Layers in App Studio - Off Topic - Epicor User Help Forum (epiusers.help)