Fix maze on LuaJit.