Fix rendering bug when hovering change