Bugfix for CanvasLayer rendering (between trails, not between pointers)