fixed issue with cancel button at certain widths