Visual Editor not working properly

You add the shortcode (and all shortcodes) in visual mode, not in text mode.