proper handling of _NET_SUPPORTING_WM_CHECK

Corrects behaviour to EWMH/NetWM specifications.