Adjusts to off-canvas alerts work