Button now checks to see if it's active.
Button now checks to see if it's visible.