ufo: use rect instead of line