Alerts working. Clears task if mouse moved outside of canvas.