Fixed drag bug for firefox