Fix Bug: firefox has inconsistent width and height