Fixed the drag bug with firefox