[Bugfix] fix a typo that leads to a ReferenceError
Merge pull request #1651 from Cobinja/panel-allocation

[Bugfix] fix a typo that leads to a ReferenceError