Prevented erroneous drawing calls from creating exceptions