Fix dialog manual drag