Protects width and height variables in shortcode.