The clicked entity is rendered to a canvas and tested for opacity at that point. Very large entities caused a very large canvas to be created. Now, the canvas is limited to 4000x4000 in size