Polygon drawing controls relative mouse movement

In attempt to fix Firefox problems when using mouse in BioSTIF, move
mouse relative to previous location, rather than relative to element.

Modification still does not fix Firefox
Handle second BioSTIF dialog correctly