Guard against a possible NPE when the rendering fails.

Change-Id: I8b0a0c65f2b0d7b7faf10224ac2945081605c5c4
1 file changed