[DF-4295] Fixed ruler tool