float rather than int for drawImage arguments