pdWindowManager: fix minor alignment issues when changing window float mode