debug sprite drawing
fix sprite data offset range.