Account avatar resizing: Use correct has_alpha value

This previously led to corrupted scaled user avatars(see issue #18)