Fixed drawing code for axis and ticks.