Fix context cleaning at col/row edges.