Fix and simplify copying texture for popup window.

Change-Id: I3eae4eaae41bb32f08576c484bb8d99b417d9f33
4 files changed