Fixes crash when setting top_value = nil

Error when setting top_controller to `nil`: 

```
subviews.rb:196:in `create_view:': undefined method `<' for nil:NilClass (NoMethodError)
```