Fix for issue #109 (_NET_WM_STATE not updated).