Fixes for GraphicsEndFill and GraphicsGradientFill