Cleanup set_clipping_rect
Change layer_id -> id for call to set_clipping_rec