Suppress resize if size hasn't changed or is 0x0