fix placing of canvas