minimap
change terrain border intersection test