Bug 1102712: honor devicePixelRatio in Gallery image editor