Don't attempt to paint into zero-sized backing store
Created attachment 239359 [details] Patch
https://trac.webkit.org/r174367