Prevent infinite recursion in pychan

No available max_size does not go well with relying on a max_size for
defining background image size.