I actually had to remove defer here unfortunately, seems there is some platform bug where styles are not being properly applied occasionally. I will file a bug if I can't find an existing one..