Fix bug with Matrix.getPoint and add transform method for Rect