This block should go within the `if (inSelectMode && onscreen)` block to be executed just when we are in select mode.

We don't need to execute it always dont we?