fix a bug about 3d button