The shifting in the rear changing with different gears in front usually means that either the BB cable guide is loose and moving as the front is shifted, or that the internal cables are crossed over each other.
You didn't say if it was always like this or it suddenly started on its own.