[ticket/13125] Uploaded avatars are not displayed

[PHPBB3-13125](https://tracker.phpbb.com/browse/PHPBB3-13125)