Canvas always breaking at random actions

This post is probably the same issue.