merge from mapjs: focus after drop if going off screen
merge link hit stroke from mapjs