For me this happened on one of the monitors that I was extending my macbook pro's desktop to, not all of them though.

Easiest fix, expand a program to full screen and then minimize it again, somehow the animation of expanding fixes it.