Gracefully handle non-existent canvas error