This patch fixes the positioning of windows according to configured policies. Thanks to Alexander Senier for reporting the issue!