WIP: fixing border issue in drag.js