fixed visibility issue with prototypes in sub canvas