fixed issue with first drag