Try going back to just a regular front tuck instead of the front layout, and then work your way back up to doing front layout. Try doing front layouts on a trampoline, then do one with a twist, then go back to a plain one, etc. This might help you and your body learn the difference between the two skills and recognize when to do each one. Try not to get frustrated and remember, it's a common problem.