Always deactivate layers before build