fixed issues with preview canvas

can call toggle stuff now, will replace with null or add preview,
calling clear without input clears all of it, clearing with input will
just clear that one square