Fix login popup being displayed under trailer. (#596)