Avoid forcing a new composited layer for no reason.

Little rendering performance improvement.