Fix some RCons.canvas bugs