fix(tests): fix avatar crop transition.

Fixes #1836