When right clicking at any place of desktop - a context menu gets opened, and when the cursor is over it - the desktop gets hidden.
I think the script should not hide the dekstop if a context menu was opened from a desktop click and the cursor hovers it.
I also think, that using such a huge delay is not needed, so I manually changed it from 1000ms to 5ms.
A second request is to make the process of hiding continuous: instead of instantly hiding the icons - it would be way more pleasant for eyes to slowly (let's say by 750ms) increase/decrease their transparency level.