Found out the conversion functions for indices <-> framebuffer only went up to 18 bits, making selection in zbuffer-select (or vpaint/faceselect even) not work on large datasets. Provided you have 24 bits display, of course. This limit was just dangling in the code since long ago... modern times eh!