Fixes active speaker relevant issues. Moves all UI related code in the videolayout.js