Fixed favicon replacement

Closes #500