Fix the pixel-offset calculation, use fb_fix_screeninfo.line_length instead of x resolution.