Fixing desktop events.