There were some problems with the z-depth and especially when tries to blur a pixel outside the viewport.