Do you have an expanded categories mod installed? That would be the only way you could have subcats of two different top cats open at the same time. It would also explain why the define is not working, because expanded cat mods use completely different versions of the files, and most likely tpl_categories.php is not even being called.
Bookmarks