Fix the rorating issue of 3D activity

Change the ratio of viewport after rotating and also reset the
viewport area according to the width and heigh.

Change-Id: Ia21fd043a69f18c7cc55bd9ae9bd78c0e4d234a8
CRs-Fixed: 2074163
1 file changed