Fixed a bug where window resizing would move the dragger.