Fix axis bugs.