Fix weird gaps on small devices