better handling of alwaysOnTop windows