fix non-zero-origin plugin drawing