Added primitive border collision