Fix overflow-x bug