Updated player screen boundary detection