fixed scorebar bug
fixed viewport issue