Fix LP#969108
priv->invisible was not updated when the window is mapped, even though it reflects whether or not the window is mapped.
Update priv->invisible when the window is mapped.
Merge lp:~smspillaz/compiz-core/compiz-core.fix_969108 into lp:compiz-core