Fixed up 3th axis error on Mac.