Basically i have a box always keep it's position and size relative to the canvas.
It works fine until i adjust the size as seen by the second shot:
Start:
<img src="http://i43.photobucket.com/albums/e397/clericvash/original.gif">
When made bigger:
<img src="http://i43.photobucket.com/albums/e397/clericvash/bigger.gif">