This MR fixes an issue where, under certain conditions, an icon resize animation is performed that shouldn't be there.