Fixed windmove

Acked-by: Verthandi <verthandi@me.com>