Fix drawing image processing and score calculation.