fixed bug on TkBDDiamondSprite + updated code to new context