Fixed a glitch with the wall optimisation drawing in the wrong order