Fix graphical corruption during item resize