Set startpoint and draw pin before maps are made visible. Fixes some bugs with routing on (or soon after) page load.