Fixed a bug where the window would redraw every time it was moved