Fix path renderer bug