Handle "disable element rendering" cases in specification #27
And other fixes