- Fixed behaviour with child windows
- Added suppor to other cases (e.g. Gimp in multi window mode)