Removing redundant objectPos reference.