Added show ruler through meas. cursror the registry
Bug solved: vertical ruler is shown when cursor dialog is closed