Blur works.

Had to move a section of code so that unitialised values were not passed into the blur function, which was resulting in an erroneous blur (not to mention seemingly random!).