go.talks/pkg/present: fix image size handling.

Fixes golang/go#4527

R=adg
CC=golang-dev
https://golang.org/cl/6933049
2 files changed