fixed that blend mode was not reset after drawing into RenderTexture (closes #585)