How to make "Align and Distribute Layers" account for layer masks?
Using any of the align and distribute layer commands in Photoshop does not properly consider the shape of a masked layer, and it seems the alignment guides do not either. I have a layer where I've used a mask to crop the edges down to just one section of the layer, but when trying to equally align or distribute with other layers, it still references the center or edges of the original layer as if it wasn't masked.
In other words, Photoshop aligns the layers based on the center of their unmasked version, rather than the new center we end up with as a result of the layer now being masked.
To put one more way:
The only workaround I've found is to convert the layer to a Smart Layer so it flattens the mask into the layer, though this is not always optimal if I hope to make changes in the future.
Is there a way to change the "centerpoint" of a masked layer so alignment and distribution works from the newly masked image instead of the original?
Related aside, the behavior I'm hoping for here is exactly how After Effects behaves when aligning masked layers. I would like the behavior in Photoshop to be consistent with that.
