got rid of bug where first click on drag is turned off on drag