If your ACL file is in custom/init, try moving it to custom/editinit. If that doesn't work and you can't otherwise figure out the cause, it doesn't hurt to just drop the line
if(window_class($winId) != 'edit') { return; }
It's only purpose is to prevent the toolbar from being added to non-edit windows.