Bug fix: clip rectangle inside a save_graphics_state