[agl] fix waypoint edit box display and sim ground detect