compton: improve performance of dragging windows