cleared warnings in CairoGrid by properly setting context surface without using obsolete accessors