change drawmode resizing/moving