Re-activated workaround for mouse event callbacks on the X3D element, added line to prevent duplicate callback invocation