Fix avatar sizes changing weirdly

#788 

The sizes for retina/non-retina weren't being dealt with correctly.