Fix layout constaint bug that was crashing ios 7.1