Fixed DrawForm, sub-instructions loop optimization