Use coords2main in click.onmousemove.