Selection outline stuck on when passing mouse over dashboard elements

When viewing a dashboard, a selection outline sometimes appears around elements when I move my mouse around (without clicking). The only reliable way I can get these outlines to disappear is to completely refresh the dashboard. This occurs both in the normal dashboard view and when editing a panel.

Does anyone know why this is happening?