set initial size of rulers to the stage size for RulerLayer