Manipulate canvas object through css