fixed bug: layer scales not updated when facets train scales