Detect and ignore invalid hit tests at import.