Fixed bug with first time image size not being set.