Workaround for toDataURL bounds