added pointer to currently selected rect set by mouse press and release.