Populate view model on module creation, default to 0 if graphic resource is null or undefined when object is selected.