Smart cropping with afre

It seems that my only solution to that problem is to assign repeat $! loop. That way, I can avoid the problem altogether.