Bug 899884. Take into account the app unit to dev pixel ratio when reusing mask layers. r=roc