Adjust pixel constraints.