FlxGradient: fix memory issues with the overlayGradientOn() functions, closes #928