Changed CoordsInFrame to recursive

It's prettier.