Fixed beginning when layer does not yet exist.