Fixed bug with autolayout detection where adding constraints foils future detection