Boundary checking for bridges crossing overmap borders