Fix for jumping over the exit in some levels using exit tree.