Fixed assert statements in _focus classes to look at x and y

Previously x was comparied to 0.1 twice, and y was only compared
to 1.0