Ignore intermediate move commands in a polyline sequence
Fix cast to 64bit compatible