Correct for skia decoding problem during underflow.

Adapted from http://b.android.com/6066#c12

Closes #281.