stroke path uses color information, fixes #1196