windowManager.js: Fix opacity issues when using fade mapping, and other effects
involving opacity changes.

Fixes #3547 short-term, TODO: test #3662 for 2.6