Solving double callback issue on ctrl/alt/shift presses