Chaning internal handling of 2D/3D mode