Adds more alignment to UIView and fixes missing superview check