Element’s “transparent” function doesn’t return the correct result

When the opacity of an element is equal to zero, the transparent function should return true, but the strict comparison (===) is actually comparing an object with an integer, hence the function returns false in any case.
This issue causes the edgehandles extension to fail as it creates a transparent “ghost” node that shouldn’t trigger any mouse events.