drawImage may throw--catch it