firefox does not have clickevent.x, using clickevent.stageX