changed initial updatePS
reset delta after focusing