Closes #588

EnableDWMDropShadow throws an exception when AllowsTransparency is True. Closes #588