Fixes #111. Moved constraints to updateViewConstraints method.