Fixed WM/CSD borders duplications - imported Jasper's work (https://bugzilla.gnome.org/show_bug.cgi?id=705766) plus additional fixes from Mutter