Add workaround for toolbar crash.