Fix for OSD content deletion problems.

Github issues:
https://github.com/dewarim/cinnamon2-entitylib/issues/2
https://github.com/dewarim/cinnamon2-entitylib/issues/1