Only use composite map when needed.

Since the composite map uses a lot of texture memory we should only use
it when needed.