Added rendering fix from beyonddeath