Fixed horizontal/vertical vector bug