Instead, you should use a =< for the top and left edges, and >= for the bottom and right edges.