It's almost like nodes are a better technique than layers for this sort of work, and AE was wrong all along... ;-)