How to stop register/account page from extending its own functionality?

In my plugin, I need to extend shopware default register functionality on checkout page, and mould it in a way required. Which I have done.

Now, what is happening here is that the default shopware register page (demo.com/register or demo.com/account) also gets overwriten.

It should only overwrite demo.com/checkout.