Equality comparison float values is considered "most likely wrong". This is probably fine since you're using an integer, however I'd recommend checking: `if (size.height > 0.0f) {`.

This explains why: http://www.cygnus-software.com/papers/comparingfloats/Comparing%20floating%20point%20numbers.htm