Use aspect ratio to crop avatars

Fixes #360