fixed a bug where focused items were keeping their focused property