LuaPerlinNoiseMap: Fix 3d noise safety check