overlay fix, dragmaster functions