Fixes border issue when hovering images