Attempt at implementing paint dragging