Fixed ctx var collision