Wrap all in main div
set correct dimnesions
remove 1px border from canvas

there are some problems with the offset and I just dont want to deal
with it now
fix double green square bug

the green square from click before wasn't repainted correctly