Fix witray corner case. Closes issue #246.
Fix witray corner case. Closes issue #246.

Sirikid/wmii,rvedam/wmii,jerluc/wmii,jerluc/wmii,sigmavirus24/wmii,jerluc/wmii,rvedam/wmii,darkfeline/wmii,Sirikid/wmii,darkfeline/wmii,wingyplus/wmii,rvedam/wmii,rvedam/wmii,jerluc/wmii,sigmavirus24/wmii,darkfeline/wmii,sigmavirus24/wmii,wingyplus/wmii,rvedam/wmii,jerluc/wmii,Sirikid/wmii,Sirikid/wmii,sigmavirus24/wmii,darkfeline/wmii,wingyplus/wmii,sigmavirus24/wmii,Sirikid/wmii,darkfeline/wmii,wingyplus/wmii,wingyplus/wmii