The logic to expand non menu-type menu buttons was calling panels draw function without first checking the poll() function succeeded.
The logic to expand non menu-type menu buttons was calling panels draw function without first checking the poll() function succeeded.