Do not attempt to resize a 0-width or 0-height displayable.

This prevents a divide-by-zero.