Fixed some positioning bugs.