This fixes a visual glitch causing the avatar to be shown too close to the right edge of the window when the share icon was not present.