Adds fix for the 0.5 pixel inaccuracy in some browsers