Added some utilities for normalizing points and rect origins.
Added comment regarding potential bug.