Fixed a bug where the red component of the shadow colour was not being set.