Change to `onRepaintRequested`.