Fixed the cool 3D bug but now it's working within the frame