Fix layer properties window draws on top of other application windows
Patch by Carl Olsson, thanks!
BUG:408170 Differential Revision: https://phabricator.kde.org/D21530