Fixed layout bug with small window width