Fix the Issue #5 RulerCtrl bug