This should belong to drawer.js, because it deals with selection logic, not rendering it on a canvas.