FP on bottom layer not selectable

Description

Under some circumstances (layer+objects visibility settings) some footprints (probably FP without pads) are not selectable.

The example below shows a custom fiducial which is not selectable if only bottom layers are displayed.

This affects v9+v10.

Steps to reproduce

  1. open attached project, open board: select_bottom.zip
  2. set selection filter to allow all selections
  3. set layer preset to "0_standard_ohne_namen"
  4. try to select fiducial --> possible
  5. set layer preset to "0_BOT_ohne_namen"
  6. try to select fiducial --> not possible

select_fiducial_bottom_01

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 9.0.7-22-g23c5e101b7, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 12.2.0
	FontConfig 2.15.0

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics, 4.6.0 - Build 32.0.101.7076

	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.89.0
	OCC: 7.9.2
	Curl: 8.17.0-DEV
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)