Added ability to click transformed objects

added ability to track the transformation matrix to be able to update
the bounds dynamically.
Removing unused code