fix: update chars_in_row before computing remaining to prevent 64th pixel per row eb4af6f verified iamthinbaker commited on May 21