Debug the game: Saving the Tree

This is how the DEBUGGED game looks like:

 

This is the BUGGED game you have to fix: