Check if resize is set before testing fit-in