Use ext css only in extmode (closes #4092)