rename the variable name displayCenter to screenCenter and remove the variable displayDepth