Bug 904039 - Take devicePixelRatio into account when determining thumbnail size; r=markh a=gavin