Fix window decoration table support

Comparison was within the parentheses rather than outside.