Fixed a createWall function.