Fixed problem with width constraints