Effects and Shadow tried to read X11 properties unconditionally on
the window id. If the window id is not an X11 id this is going to fail.
This change introduced a check on whether the Toplevel is a ShellClient
and in that case the property is not read.