PathLayer: submit update task directly

- revert update listener
GLState: keep track of clear color