Fixed bug affecting newer Safari and/or WP versions.