Fix size of read pixel