Make `was_top_layer_under_active_drag` more closely match logic of `was_top_layer` (#4222)

Release Notes:

- N/A
c4a028d38dJulia committed on 1/23/2024, 7:04:49 PM· committed by GitHubparentsb98c93521d6751
1 file changedLine totals unavailable