Make sure obj is a num before reading it

Not sure if using a 0 is correct otherwise, but if your matrix is
broken you're probably going to get a wrong rendering anyway, so who
cares. Bug #30590
1 file changed