fixing mouseclick closes #230