there are a lot of locations in this file where we call `visible` with `refocus` too