Fix infinity and update square round on keyup