Fix unsafe use of BaseNode in Move script instruction