Fix screenFrame errors in debug