[BUG #7273] Only apply WebKit fix if necessary
minor fix