Fix webkit issues in FF