Fix numerical error
Fix dirty rect region
To integer