When refreshing a tab while instances are shutting down, the number of boxes goes down as instances are deleted. It looks as though the UI only shows enough boxes to include the highest instance number still shutting down. Perhaps this is due to setting the objective to zero here?

Consider adding another value, which would only be updated when when starting instances and use that value to set the number of boxes shown in the UI.