Add styles to prevent border displacement for active preview item