Fixed some coordinate mess.