Fixing wrong point variable type (polygon lua code)