Fixed bug for not binding views if views were displayed