Consider the case where either width or height might be 0 when comparing self.scaledSize in -recreateImageBuffers