Move path building from canvas paint thread to script using lyon_path, after https://github.com/nical/lyon/pull/931 get's released. The idea is to simplify everything, avoid blocking for is point in path queries and we can easily do translations.