This is the work around I used.
I replaced [DNN_REGISTER_BUTTON] with the below HTML code. Replace "/AccountRegistration.aspx" with the name of your page.
input onclick="top.location.href='/AccountRegistration.aspx'" value="Register" type="button" name="Register" /
Note: add < and > to the front and back of the above code