Fixed missing update of selection rectangle.

Change-Id: Icaef33d24bd040e975f32a95fd462fe0d014f136