Fixing graphics path