Wrap ruler draw in let binding.