ecere/gui: (#1019) Fixed broken parenting of system buttons when maximized
- This supersedes the previous 25f63b6e64b0e596206165c3dd469f3349ccfd77 commit
- The problem was not specific to native decorations, and that fix would have caused problems in full-screen