Fixed an axis rendering issue when the axis has a shadow.
Fixed some plot rendering issues when the plots have a shadow. Fixed issue 533.