Making the draw interaction work with pointer events

This is not yet optimized for mobile, and tests need to be
updated.