fix(tests): fix avatar crop transition.

Fixes #1836
Merge pull request #1924 from vladikoff/avatarFix

fix(tests): fix avatar crop transition.