Fixed bug with hiding/showing/toggling not returning ctx