**Link to PDF file (or attach file here):**
[tocheckFile.pdf](https://github.com/mozilla/pdf.js/files/240714/tocheckFile.pdf)

**Configuration:**
- Web browser and its version: FF45.0.2, Chrome Version 50.0.2661.86 (64-bit) 
- Operating system and its version: Mac OSX El Capitan

**\- PDF.js version:**
PDFJS.version = '1.1.215';
PDFJS.build = 'c9a7498';

**Steps to reproduce the problem:**
1. Use the lib to generate a PDF preview.

**What is the expected behavior? (add screenshot)**
PDF preview should have rendered completely. (frog head should be complete)

**What went wrong? (add screenshot)**
<img width="952" alt="imagesnotrenderinginpreview" src="https://cloud.githubusercontent.com/assets/10231850/14889265/cecb2d64-0d66-11e6-98e1-da2d39728552.png">

See attached screenshot in regards to the pdf file

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

const p1 = Util.applyTransform(r, m);
    const p2 = Util.applyTransform(r.slice(2, 4), m);
    const p3 = Util.applyTransform([r[0], r[3]], m);
    const p4 = Util.applyTransform([r[2], r[1]], m);
    return [
      Math.min(p1[0], p2[0], p3[0], p4[0]),
      Math.min(p1[1], p2[1], p3[1], p4[1]),
      Math.max(p1[0], p2[0], p3[0], p4[0]),
      Math.max(p1[1], p2[1], p3[1], p4[1]),
    ];
  }
  static inverseTransform(m) {
    const d = m[0] * m[3] - m[1] * m[2];
    return [
      m[3] / d,
      -m[1] / d,
      -m[2] / d,
      m[0] / d,
      (m[2] * m[5] - m[4] * m[3]) / d,
      (m[4] * m[1] - m[5] * m[0]) / d,
    ];
  }
  
  
  
  
  
  
  static apply3dTransform(m, v) {