Fixes jumpy behaviour on mouse hover