Fixed issue with mesh breaking during updates.