changed rect interface

-use bottom left and top right pairs
-fixed camera moving