Ignore invisible objects when finding mouse target