fix off-canvas layout