Support two control schemes: corner and border