thanks, il problema erano left e top, io scrivevo screenX e screenY che avevo visto su un manuale js...