bug fix width&height in firefox