Is the name of your TV “HideMenu”?
Maybe you could add some log()
-commands to your code and then check the error log to make sure, the plugin is even executed.
$modx->log(modX::LOG_LEVEL_ERROR,'Plugin executed');
As this seems to be a quite unsatisfying solution. Does an extra like Magic Preview eliminate the need for this?