`should_move_clip_rect` is a bare function

`self` is never used, so there's no need for this to be a method.
Fixes #4261. @jdm