MapPane now gets mainActivity on init