Fixed a bunch of *potentially* derpy coordinate computations.
Made sign upgrade in tablet also work when standing "inside" the sign.