fix for 2d-3d switch extent