Fix small bug with the right ruler.

Ruler size was set to the scene's width instead of its height.