Record released and mouse coordinates.