Fixing register screen click bug