Updated fullscreen detection to properly include Safari 5.x