Fix the conditionals for bypassing the rendering of UIView

Suggested by @christophercotton. Fixes #105