Fixed misaligned elements in register form.

Close #3.