Fixed error msg/canvas conflict.