Weird behaviour when assigning material to specific faces
The subsurf modifier is smoothing the edges which allowed the above material to bleed out to the sides.

Add two loop cuts to the sides to fix it. (shortcut ctrl+R, then sroll up once)