optimize render in GamePathLayer