fix screenshot and preview distortions

Change-Id: Ib67674da111176fdc066ebb289e1720b8e5ceb5e