added another restriction to just translate the plane if in vertex mode