Fixed a crash when debugging a view

Fixed a wrong variable name which was causing a crash when debugging a view.

PD: HEY COLIN!!1!