keep container div's width under select mode

under select mode, the container div's width may be changed, fix this issue
this line is possible to change the container div's width