Fix typo
Add missing property
Ensure width and height are int
Ensure destWidth and destHeight are int