Merge changes I1491ad81,I003d578d

* changes:
  Make mirror view able to move close to the screen edges
  Update mirror window location when orientation changed