Fix select input exceeding container #1250979