Implemented Dynamic Rectangle Drawing

Need to fix shift-control towards top-left corner.