constructor of mouse cursor