Fixed weird origin_x problem