Rangers nearly knock off Panthers