Attempt to fix issue #2.  Whenever the color is not a string, assume
that it should be transparent.  I'm unsure if the mac osx puts the
translated color to a string.  However, it seems that the undefined
should be the same as transparent.  Therefore, this fix *should* work...
Fixed typo to fix issue #2.