Fix for padding-right bug