Commit for reszing canvas on mouse release

Change-Id: Ibef63608eef39b7d5a237b2bf0b7e15093945abb