Visible cell selection - HardwareSelector.py example is not working reliably

Changing x and y to x-1 and y-1 respectively as you described has fixed the behaviour for me. Thank you again @lassoan.
I am creating an issue on the lerensen/VTKExamples github to try to get the example updated.

Hopefully, the rendering issue will be fixed in a future build.