Fixed the focus issue with view containers