set canvas size as properties

Signed-off-by: Yury Kaliada <fut.wrk@gmail.com>