You must have missed something, code does not behave as ghosts that come back to haunt you. There is one possibility left, rename the original VM template files that you have overridden, just to make sure that the correct files are used. At best it will work, or you will get a error notice at worst the code comes from another hard coded source.
Jörgen @ Kreativ Fotografi