Bugfix: correctly enable/disable view for function parameters