Added support for moving D2 windows