Image creation bugs with 0 size windows
problem for trajectory containing a single point or multiple points at the same location