Fix for unworking photo and attachment upload buttons in some themes such as vier