I wrote a simple python code which creates canvas and items in canvas can be moved freely. However, I have some problems here: