Fix spinner and switch liteners callbacks being fired after initial layout