fixed many 3D and positioning issues