Small fix for keeping main layer ok after scale