Fixes #254 - fixed reflow if rulers are not defined