Base: Move cancel CSS directive to the correct location