Initialize and resize drawing in css1.c