shadow drawing fix also affected 3d view opengl render, hiding armatures, now there's separate flags for it.