Prefs and scripts windows flashing

I have prefs and scripts windows open like so


and every time the folder is switch to or from certain folders they flash, (folders like This PC and Music) not all folders do this.
(Might be folders that have per folder images set)