fixed part of #154 - prevent costumes from being drawn while they are loading

prevents an occasional DOM error saying "an attempt was made to use an
object that is not, or is no longer, usable" when loading a project
that has costumes