Fixed bugs involving screen pos