You have to instantly enter the dream world to prevent it from getting stuck in the left hole and make him get stuck in the hole to the right.