Fix opacity transition of popout boxes