So the left node can't move to the left and the right node can't move to the right since that widens the funnel. So the algorithm gets stuck.
My solution is to detect when it is stuck and then move the apex to node that has advanced the furthest on the path.
In this case the right node has reached triangles that the left node hasn't so thats where I move the apex to.
Maybe the problem is due to the usage of rectangular borders I'm not sure.
Or could it be that the left node can check portals further down the path even if it failed to move to previous portals.
Any help on the problem is appreciated.
Description of the funnel algorithm can be found here:
http://digestingduck.blogspot.com/2010/03/simple-stupid-funnel-algorithm.html