I tried to reproduce it in a small example but couldn't.
It just happens when these two actions are executed. If you cancel one of the actions (it doesn't matter which one), then the error doesn't happen. But if you execute both actions then the error will occur.
The character belongs to the "layerSprites" layer. When the character moves behind the object "personajesFondo" then it changes to the layer "layerFondo". So maybe C2 wants to draw the character on the "layerSprites" layer but the character changed layer and the error happens? I have no idea.