Fixes slide height bug