Fixed origin.x -> origin.getX() shit