Fix image downloading