[frontend] Fix console view.

This fixes some problems we have on Firefox.