Fixed nil error on constraint rendering.