If this is the sizer, it should ideally use one of the interfaces that return this. (e.g., canvas.getSizer?)