Fixes #9: 'View is not set'