[OE-4360] Account for lastOriginX and lastOriginY when adjusting doodle properties