fixed webkitvisibility check