Fix the bug of invisible violations on the dashboard