Turn-based mesh bugfixes

Some bugfixes for the turn-based mesh. Still seems a bit off though..