Refactored position pointer and hitBox rectangle to both use the same variable