Fix slider image bug