Remove commented out code.
Match selection and view port
Fix location of rectangle in bird eye view when panning.
Fix selection when changing resolution level.