Fix display bugs on smaller devices