Fix for bug causing title to keep flashing