bug fix

bug fixes related to shapes delete and proxy drawing