Remove container 2x lookups
Instead of checking for existance and then getting the value. Look it up once and use the value if avaliable. This saves us one hash look-up per execution which can be considerable, especially in the case of findElementRect.