drawstack.lua: Fixed isDrawable not returning correct value